package com.vm.common;

import java.util.HashMap;

import java.util.Map;

/**
 *查询对象
 * @author Fighter
 *
 */
public class QueryObject {
	/**
	 * 查询SQL
	 */
	private String querySql=""; 
	/**
	 * 分页SQL
	 */
	private String listQuerySql=""; 
	/**
	 * 总数查询sql
	 */
	private String countSql="";  
	/**
	 * FORM部分
	 */
	private String formSql=""; 
	/**
	 * 排序SQL
	 */
	private String orderSql="";  
	/**
	 * 条件SQL　不包含form前，及orderby 等
	 */
	private String conditionSql=""; 
	/**
	 * 关联查询时查询数量  如：count(DISTINCT eqpInfo.eqpId) 
	 */
	private String countFilter; 
	/**
	 * 实体别名
	 */
	private String asName; 
	/**
	 * 实体名
	 */
	private String beanName; 
	/**
	 * 查询条件Map　保存查询条件
	 */
	private Map<String,String> queryOptionMap=new HashMap<String,String>(); 
	
	
	
	public String getQuerySql() {
		return querySql;
	}
	public void setQuerySql(String querySql) {
		this.querySql = querySql;
	}
	public Map<String, String> getQueryOptionMap() {
		return queryOptionMap;
	}
	public void setQueryOptionMap(Map<String, String> queryOptionMap) {
		this.queryOptionMap = queryOptionMap;
	}
	public String getListQuerySql() {
		return listQuerySql;
	}
	public void setListQuerySql(String listQuerySql) {
		this.listQuerySql = listQuerySql;
	}
	public String getCountSql() {
		return countSql;
	}
	public void setCountSql(String countSql) {
		this.countSql = countSql;
	}
	public String getFormSql() {
		return formSql;
	}
	public void setFormSql(String formSql) {
		this.formSql = formSql;
	}
	public String getOrderSql() {
		return orderSql;
	}
	public void setOrderSql(String orderSql) {
		this.orderSql = orderSql;
	}
	public String getConditionSql() {
		return conditionSql;
	}
	public void setConditionSql(String conditionSql) {
		this.conditionSql = conditionSql;
	}
	public String getCountFilter() {
		return countFilter;
	}
	public void setCountFilter(String countFilter) {
		this.countFilter = countFilter;
	}
	public String getAsName() {
		return asName;
	}
	public void setAsName(String asName) {
		this.asName = asName;
	}
	public String getBeanName() {
		return beanName;
	}
	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}
	
	
}
